#include "serveraddr.h"

namespace base {

	Serveraddr::Serveraddr(unsigned short port) : _port(port)
	{
	}

	Serveraddr::~Serveraddr()
	{
	}

	const std::string& Serveraddr::getIPString() const
	{
		return _ipstr;
	}

	unsigned short Serveraddr::getPort() const
	{
		return _port;
	}

}
